<style type="text/css">
	input {width:260px;height:25px;}
</style>
<%=form_for  @store_info ,url: store_infos_path  do  |f|%>
	<%=f.label 'Name'%>
	<%=f.text_field :name%>
	<%=f.label "StoreChainID"%>
	<%=f.text_field :store_chain_id %>
	<%=f.fields_for :contact do |ff|%>
		<div>
			<p>
				<label><%=ff.label 'ContactFirstType'%>
				<%=ff.text_field :infotype  %></label>
				<label><%=ff.label 'ContactSecondType'%>
				<%=ff.text_field :valuetype  %></label>
			</p>
		</div>
	<%end%>
	<%=f.fields_for :faci do |ff|%>
		<div>
			<p>
				<label><%=ff.label 'FaciFirstType'%>
				<%=ff.text_field :infotype  %></label>
				<label><%=ff.label 'FaciSecondType'%>
				<%=ff.text_field :valuetype  %></label>
			</p>
		</div>
	<%end%>
	<%=f.submit "Submit"%>
<%end%>